package com.chat.domain.dto.user;

import jakarta.validation.constraints.Email;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

/**
 * 修改用户数据传输对象
 * @author wb
 * @since 2024-08-21
 */

@Data
public class UserProfileDTO {

    private Integer id;

    @NotBlank(message = "真实姓名不能为空!")
    private String realName;

    @NotBlank(message = "邮箱不能为空")
    @Email(message = "邮箱格式不正确")
    private String email;

    private String avatar;

    private String gender;

    private String phone;

    private String address;

    private String description;
}
